package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.nest.NestReceivePart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface NestReceivePartMapper extends SyMapper<NestReceivePart> {

    @Select("DELETE FROM tb_nest_receive_part WHERE id=#{id}")
    void deleteWithId(@Param("id") Integer id);

    @Select("DELETE FROM tb_nest_receive_part WHERE plate_code = #{plateCode}")
    void deleteMesNestWithCode(@Param("plateCode") String plateCode);

}
